<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<input id="btn" value="获取" type="button" >
<script src="js/axios.js"></script>
<script>
    var btn=document.getElementById("btn");
    btn.onclick=function () {
        axios.get(' http://localhost:9001/label/1').then(function (resp) {
            console.log(resp.data);
        })
    }
</script>
</body>
</html>